package com.example.xpvideo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.xpvideo.entity.LsBargain;
import com.example.xpvideo.entity.LsLocalGoods;
import com.example.xpvideo.entity.res.BargainGoodDetail;
import com.example.xpvideo.entity.res.BargainListRes;
import com.example.xpvideo.entity.res.BargainRecordRes;
import com.example.xpvideo.entity.res.LocalGoodsRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface BargainGoodsMapper {
    List<BargainListRes> BargainGoodList(@Param(Constants.WRAPPER) Wrapper<LsBargain> ew);
    List<BargainRecordRes> BargainRecord(@Param(Constants.WRAPPER) Wrapper<LsBargain> ew);
    BargainGoodDetail BargainGoodDetail(@Param(Constants.WRAPPER) Wrapper<LsBargain> ew);
}
